package ar.com.indra.commons.service;

import ar.com.indra.commons.dao.IDao;

public abstract class ServiceSpring implements IService{

	private static final long serialVersionUID = 7776494553549194359L;
	
	protected IDao dao;
	
	/**
	 * Constructor de la clase
	 */
	protected ServiceSpring() {
		super();
	}

	/**
	 * Obtenemos un IDao
	 * @return un IDao
	 */
	public final IDao getDao() {
		return dao;
	}

	/**
	 * Setea un IDao al delegate.
	 * @param service
	 */
	public final void setDao(IDao dao) {
		this.dao = dao;
	}


}
